package com.mccken.eshop.order.service;

import com.mccken.eshop.order.domain.request.CreateOrderParams;
import com.mccken.eshop.order.domain.request.GenOrderIdParams;
import com.mccken.eshop.order.domain.response.CreateOrderResult;
import com.mccken.eshop.order.domain.response.GenOrderIdResult;

public interface OrderService {

	/**
	 * 生成订单号
	 * 
	 * @param params
	 * @return
	 */
	GenOrderIdResult genOrderId(GenOrderIdParams params);

	/**
	 * 提交订单/生成订单
	 * @param params
	 * @return
	 */
	CreateOrderResult createOrder(CreateOrderParams params);
}
